package com.bzkj.msfx.domain.warehouseXml;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

/**
 * @projectName: bzkj-wms
 * @package: com.bzkj.domain
 * @className: WarehouseDocument
 * @description: 出入库单Document
 * @author: C1309
 * @createDate: 2024年10月23日
 * @version: v1.0
 */
@JacksonXmlRootElement(localName = "Document")
public class WarehouseDocument {
    @JacksonXmlProperty(isAttribute = true, localName = "xmlns:xsi")
    private String xmlnsXsi = "http://www.w3.org/2001/XMLSchema-instance";

    @JacksonXmlProperty(isAttribute = true, localName = "xsi:noNamespaceSchemaLocation")
    private String xsiNoNamespaceSchemaLocation = "http://www.btyy.com/schema/2019/01/01/Document.xsd";

    @JacksonXmlProperty(isAttribute = true, localName = "SN")
    private String sN = "BZ010";

    @JacksonXmlProperty(isAttribute = true, localName = "Version")
    private String version = "3.0";

    @JacksonXmlProperty(isAttribute = true, localName = "License")
    private String license;

    @JacksonXmlProperty(localName = "Events")
    private WarehouseEvents warehouseEvents;

    public String getXmlnsXsi() {
        return xmlnsXsi;
    }

    public void setXmlnsXsi(String xmlnsXsi) {
        this.xmlnsXsi = xmlnsXsi;
    }

    public String getXsiNoNamespaceSchemaLocation() {
        return xsiNoNamespaceSchemaLocation;
    }

    public void setXsiNoNamespaceSchemaLocation(String xsiNoNamespaceSchemaLocation) {
        this.xsiNoNamespaceSchemaLocation = xsiNoNamespaceSchemaLocation;
    }

    public String getsN() {
        return sN;
    }

    public void setsN(String sN) {
        this.sN = sN;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getLicense() {
        return license;
    }

    public void setLicense(String license) {
        this.license = license;
    }

    public WarehouseEvents getWarehouseEvents() {
        return warehouseEvents;
    }

    public void setWarehouseEvents(WarehouseEvents warehouseEvents) {
        this.warehouseEvents = warehouseEvents;
    }

    @Override
    public String toString() {
        return "WarehouseDocument{" +
                "xmlnsXsi='" + xmlnsXsi + '\'' +
                ", xsiNoNamespaceSchemaLocation='" + xsiNoNamespaceSchemaLocation + '\'' +
                ", sN='" + sN + '\'' +
                ", version='" + version + '\'' +
                ", license='" + license + '\'' +
                ", warehouseEvents=" + warehouseEvents +
                '}';
    }
}
